<template>
  <div class="page_contractAgreement">
    <van-nav-bar :title="itemObj.title" left-arrow @click-left="$router.go(-1)">
      <template #right>
        <van-icon name="ellipsis" size="18" @click="showOverlay = true" />
      </template>
    </van-nav-bar>
  </div>
</template>

<script>
export default {
  name: 'contractAgreement',
  data() {
    return {
      itemObj: {},
      showOverlay: false
    }
  },
  created() {
    if (this.$route.query.itemObj) {
      this.itemObj = JSON.parse(this.$route.query.itemObj)
    } else {
      this.$router.back()
    }
  }
}
</script>

<style lang="scss" scoped>
.page_contractAgreement {
  width: 100%;
}
</style>
